import { FooterToolbar } from '@ant-design/pro-layout'

export const form_props = {
    submitter: {
        searchConfig: { submitText: '保存' },
        render: (_, dom) => <FooterToolbar>{dom}</FooterToolbar>,
    }
}

export const shenfenzheng_regx = new RegExp(/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}([0-9]|x|X)$/, "g")


export const form_data = [
    [
        {name:'辖区',type:'text',rules:[true,''],}
    ]
]